﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ServerApplication.ConfigFileCreator
{
    class ConfigFileUtils
    {

        private const string CONFIG_FILE_NAME = "ConfigFiles";
        private string m_directroy = "";

        static bool VerifyDirectory(string p_path)
        {
            return File.Exists(p_path);
        }

        static void GetLatestUpdates(string p_inputData)
        {
            string[] allFiles = Directory.GetDirectories("./Y");
            string remainingPath = ConfigurationManager.AppSettings["LastUpdateLocation"];

            foreach (string currentPath in allFiles)
            {
                string fullPath = currentPath + remainingPath;
                string text = System.IO.File.ReadAllText(fullPath);
            }
        }


    }
}
